<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet"
	href="https://www.jq22.com/jquery/bootstrap-3.3.4.css">
</head>
<body>
    <div style="padding-left: 20px; padding-top: 20px">
		<ul class="breadcrumb">
			<li><a>个人中心</a></li>
			<li><a>个人信息</a></li>
		</ul>
		<form role="form">
			<div class="form-group">
				<label for="name">账户名:</label><label for="name"><%=session.getAttribute("username") %></label>
			</div>
			<div class="form-group">
				<label for="name">角色：</label><label for="name"><%String role = (String)session.getAttribute("role");
						if(role.equals("0")){
							out.write("管理员");
						}else{
							out.write("普通用户");
						}
		%></label>
			</div>
			<div class="form-group">
				<label for="name">性别：</label><label for="name"></label><label for="name"><% int sex = (int)session.getAttribute("sex");
						if(sex==0){
							out.write("女");
						}else{
							out.write("男");
						}
				%></label>
			</div>
			<div class="form-group">
				<label for="name">年龄：</label><label for="name"><%=session.getAttribute("age") %></label>
			</div>
		</form>
	</div>
</body>
</html>